#import socket


#sk = socket.socket()
#sk.bind(("127.0.0.1",8081))
#sk.listen(5)

#conn,address = sk.accept()
#sk.sendall(bytes("Hello world",encoding="utf-8"))

import socket
ip_port = ('127.0.0.1',9999)
sk = socket.socket(socket.AF_INET,socket.SOCK_DGRAM,0)
sk.bind(ip_port)

while True:
    data = sk.recv(1024)
    print(data.decode())